import {url,axios} from './index';
export const listAllClass = async () => {
    let res = await axios({
        headers:{
            "Authorization":"Bearer "+localStorage.getItem("token")
        },
        method:"get",
        url:`${url}/classes/all`
    });
    return res.data;
}